<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="vue.js"></script>
		<script src="http://lib.baomitu.com/marked/3.0.8/marked.js"></script>
		<script src="https://unpkg.com/moment"></script>
	<body>
		<div id="app">
			{{notePreview}}
			<!--//笔记内容-->
			{{date | formatDate}} , {{ }} lines, 
			
		</div>
		
		<script>
		    new Vue({
				el:'#app' ,
				data:{
					content: '这是一个**markdown**笔记',//开头介绍
					date: new Date()
				},
				computed: {
					notePreview(){
						return marked(this.content)
					},
					countLines(){
						//正则表达式
					},
					countWords(){
						
					},
					countCharacters(){
						
					}
				}，
				filters: {
					formatDate: function(value){
						
					}
				}
			});
		</script>
	</body>
</html>
